path-b = src/backend
path-fcs = src/frontend-cpp-sdl

sources-b = $(path-b)/test.cpp $(path-b)/states.cpp $(path-b)/baseCTF.cpp $(path-b)/zlibengn_mod.cpp
sources-fcs = $(path-fcs)/sdltest.cpp $(path-fcs)/mapdraw.cpp $(path-fcs)/window.cpp

all:
	g++ -std=c++0x -Wl,--enable-auto-import $(sources-b) $(sources-fcs) -I $(SDLIncludeDir) -I src -L $(SDLLibDir) -lmingw32 -lSDLmain -lSDL -lzdll